package com.zzyl.service;

import com.zzyl.dto.NursingPlanProjectDto;
import com.zzyl.vo.NursingPlanProjectVo;

import java.util.List;

/**
 * @interfaceName: NursingPlanProjectService
 * @description:
 * @author: ChenXu
 * @date: 2024/5/27 10:23
 * @Version: 1.0
 */
public interface NursingPlanProjectService {
    /**
     * 批量操作中间表
     * @param planProjectDtos
     * @param planId
     */
    void saveBatch(List<NursingPlanProjectDto> planProjectDtos, Long planId);

    void deleteById(Long id);

    void updateByIdProject(List<NursingPlanProjectDto> projectPlans);

    List<NursingPlanProjectVo> findByIdProject(Long id);
}
